#include <iostream>
#include <string>
using namespace std;
class Employee
{
public:
    Employee()
    {
        id = ++base_id;
    }
    void display()
    {
        cout << "ID:" << id << " Name:" << name << endl;
    }
private:
    static int base_id;
    int id;
    string name;
};

int Employee::base_id = 1000;

int main()
{
    string name1, name2;
    cout << "Input name:";
    cin >> name1;
    cout << "Input name:";
    cin >> name2;

    Employee e1;
    e1.name = name1;
    Employee e2;
    e2.name = name2;

    e1.display();
    e2.display();
    return 0;
}
